// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import VueRouter from 'vue-router'
import Vuex from 'vuex'
import App from './App'
import { AjaxPlugin } from 'vux'
import router from './router/index'
import store from '@/vuex/store'
import 'mint-ui/lib/style.css'
import Mint from 'mint-ui'
import { ToastPlugin } from 'vux'
import { LoadingPlugin } from 'vux'
Vue.use(Mint)
Vue.use(Vuex)
Vue.use(AjaxPlugin)
Vue.use(ToastPlugin)
Vue.use(VueRouter)
Vue.use(LoadingPlugin)
FastClick.attach(document.body)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    store,
    router,
    render: h => h(App)
}).$mount('#app-box')